.class Lcom/waiqin365/lightapp/sku/n;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->d(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->a(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Lcom/waiqin365/lightapp/sku/c/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/sku/c/a;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->a(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Lcom/waiqin365/lightapp/sku/c/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/sku/c/a;->o:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/d;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->t()Ljava/lang/Boolean;

    move-result-object v3

    if-eqz v3, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->t()Ljava/lang/Boolean;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->d(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->f(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->e(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/n;->a:Lcom/waiqin365/lightapp/sku/SKUDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUDetailActivity;->g(Lcom/waiqin365/lightapp/sku/SKUDetailActivity;)Lcom/waiqin365/lightapp/sku/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sku/a/a;->notifyDataSetChanged()V

    return-void
.end method
